<?php
	require '../utils/conn.php';

	$version = $_REQUEST['version'];
	$url = $_REQUEST['downloadUrl'];
	$introduce = $_REQUEST['introduce'];
	
	$query = "UPDATE t_version SET version=$version, appurl='$url', introduce='$introduce'";
	
	mysql_query($query) or die("更新版本出现错误：". mysql_error());
	
	echo "更新成功！";
	
?>